Dynomotion

Group: DynoMotion Message: 14915 From: tesotronics Date: 7/10/2017
Subject: Calling console script commands in C code

I've been going through the KMotionDef.h file and I noticed not all the commands that are on the script command page are available in C.

I need to make a call to SetFRO<> from my C-code.


I hope a solution exists for this, I assumed this was possible when I decided to use Dynomotion for my machine (WEDM machine). If not, I can scrap my KMotion+Kanalog and start searching for another control solution...

 

Group: DynoMotion Message: 14916 From: Tom Kerekes Date: 7/10/2017
Subject: Re: Calling console script commands in C code

See these functions listed in KMotionDef.h

void SetFRO(float FRO); // change from current to the specified FRO (FRO=1.0=Realtime)using a nominal rate based on computed time to change from 1.0 to 0.0
void SetRapidFRO(float FRO); // change from current to the specified Rapid FRO (FRO=1.0=Realtime)using a nominal rate based on computed time to change from 1.0 to 0.0
void SetFROTemp(float FRO); // Temporarily change from current to the specified FRO using a nominal rate, override FeedHold, don't save as LastFRO
void SetFROwRate(float FRO, float DecelTime); // change from current to the specified FRO (FRO=1.0=Realtime)using a rate based on caller specified time to change from 1.0 to 0.0
void SetRapidFROwRate(float FRO, float DecelTime); // change from current to the specified Rapid FRO (FRO=1.0=Realtime)using a rate based on caller specified time to change from 1.0 to 0.0
void SetFROwRateTemp(float FRO, float DecelTime); //  Temporarily change from current to the specified FRO using a rate based on caller specified time, override FeedHold, don't save as LastFRO

Regards

TK


On 7/10/2017 10:18 AM, mike.bax@... [DynoMotion] wrote:
 

I've been going through the KMotionDef.h file and I noticed not all the commands that are on the script command page are available in C.

I need to make a call to SetFRO<> from my C-code.


I hope a solution exists for this, I assumed this was possible when I decided to use Dynomotion for my machine (WEDM machine). If not, I can scrap my KMotion+Kanalog and start searching for another control solution...